package com.tedu.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.tedu.dao.IOrderProductDao;
import com.tedu.service.IOrderProductService;
@Service
public class OrderProductService implements IOrderProductService {
	private IOrderProductDao orderProductDao;
	@Resource
	public void setOrderProductDao(IOrderProductDao orderProductDao) {
		this.orderProductDao = orderProductDao;
	}
	public void add(com.tedu.model.OrderProduct orderProduct) {
		orderProductDao.add(orderProduct);
	}
	public void delete(int pid) {
		orderProductDao.delete(pid);
	}
}
